package com.ttbj.salesman.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface RolePermissionMapper {
	
	/**
     * 添加权限
     * @param rolePermission
     */
    void addRolePermission(@Param("rps") List<Long> rolePermission,@Param("roleId") Long roleId);
    
    /**
     * 根据权限ID删除角色-关系
     * @param
     */
    void deletRolePermissionByID(@Param("roleId") long roleId);
}
